<div class="row m-n">
    <div class="crumbs-bar">
        <div yb-crumbs></div>
    </div>
    <div tabset type="tab">
        <div tab heading="仓库管理" active="activeFlag[0]" ng-click="changeTab(0)">
            <div class="row wrapper-y-sm">
                <div class="operate-bar col-xs-4 font-0">
                    <button class="btn btn-operate m-r-sm" ng-click="addData('depot')"
                        ng-disabled="!btnPermission.depotAdd" translate
                        translate-attr-title="{{!btnPermission.depotAdd?'无权限执行此操作':''}}">新增仓库</button>
                </div>
                <div class="search-bar wrapper-none col-xs-8">
                    <div class="btn-group m-l-xs pull-right">
                        <button type="button" class="btn btn-default base-color" ng-click="search('depot')" translate
                            translate-attr-title="刷新">
                            <i class="yb-icon ico-refresh"></i>
                        </button>
                        <div class="btn btn-default base-color" ng-if="!!btnPermission.depotExport">
                            <div yb-download download-url="exportParam.allUrl" download-param="condition" download-duration="3" translate
                                translate-attr-title="导出" >
                                <i class="yb-icon ico-export-o"></i>
                            </div>
                        </div>

                    </div>
                    <button class="btn-advance pull-right m-l-xs" ng-click="switchToolbar('AdvanceSearch')"
                        translate-attr-title="高级搜索" translate="高级搜索more"></button>
                    <div class="input-group pull-right clearfix" ng-style="{'width':isEN?'280px':'240px'}">
                        <input type="text" class="form-control txt-search" translate
                            translate-attr-placeholder="仓库编号/仓库描述" ng-model="condition.keyWords">
                        <span class="input-group-addon cursor-pointer" ng-click="search('depot')" translate>搜索</span>
                    </div>
                </div>
            </div>
            <div yb-advance-search show-toolbar="toolbarConfig.showAdvanceSearch" search-data="search('depot')"
                reset-data="reset()">
                <div class="advance-search m-t-sm">
                    <div class="form-group clearfix">
                        <label class="control-label"><span translate>仓库编号</span>：</label>
                        <textarea ng-model="condition.billNos" class="form-control" translate translate-attr-placeholder="逗号分隔或者换行分隔" ng-blur="handleBlur($event)"></textarea>
                    </div>
                    <div class="form-group clearfix">
                        <label class="control-label"><span translate>仓库描述</span>：</label>
                        <input type="text" name="purchaseOrgName" ng-model="condition.purchaseOrgName"
                            class="form-control">
                    </div>
                </div>
            </div>
            <div class="main-area">
                <div yb-table-fixed class="table-fixed-wrap">
                    <div class="th-scroll-x">
                        <table class="table border-none">
                            <thead>
                                <tr>
                                    <th width="22%" translate translate-attr-title="{{'操作'}}" class="spill-dots">操作</th>
                                    <th width="15%" translate translate-attr-title="{{'仓库编号'}}" class="spill-dots">仓库编号</th>
                                    <th width="20%" translate translate-attr-title="{{'仓库描述'}}" class="spill-dots">仓库描述</th>
                                    <th width="13%" translate translate-attr-title="{{'是否条码化'}}" class="spill-dots">是否条码化</th>
                                </tr>
                            </thead>
                        </table>
                    </div>
                    <div class="td-scroll" ng-show="depotList.length > 0">
                        <table class="table border-none">
                            <tbody>
                                <tr ng-repeat="item in depotList track by $index">
                                    <td width="22%">
                                        <button class="btn btn-operate" ng-click="addData('area', item)"
                                            ng-disabled="!btnPermission.depotAddArea" translate
                                            translate-attr-title="{{!btnPermission.depotAddArea?'无权限执行此操作':''}}">添加库区</button>
                                        <button class="btn btn-operate" ng-click="editDepot(item)" translate>编辑</button>
                                        <button class="btn btn-operate" ng-click="stopUsingState('use', item, 'warehouse')"
                                                ng-disabled="!btnPermission.depotStopUsing || item.stopUsing == 0" translate
                                                translate-attr-title="{{!btnPermission.depotStopUsing?'无权限执行此操作':''}}">启用</button>
                                        <button class="btn btn-operate" ng-click="stopUsingState('stop', item, 'warehouse')"
                                                ng-disabled="!btnPermission.depotStopUsing || item.stopUsing == 1" translate
                                                translate-attr-title="{{!btnPermission.depotStopUsing?'无权限执行此操作':''}}">停用</button>
                                        <button class="btn btn-operate" ng-click="removeDepot(item.id)"
                                                ng-disabled="!btnPermission.depotDel" translate
                                                translate-attr-title="{{!btnPermission.depotDel?'无权限执行此操作':''}}">删除</button>
                                    </td>
                                    <td width="15%" class="spill-dots" title="{{item.warehouseCode}}">
                                        <a class="btn btn-operate" ng-click="getDataList('area', item, 1)">
                                            {{item.warehouseCode}}
                                        </a>
                                    </td>
                                    <td width="20%" class="spill-dots" title="{{item.description}}">{{item.description}}
                                    </td>
                                    <td width="13%" class="spill-dots" title="{{item.isBarCode| TrueOrFalse}}">{{item.isBarCode| TrueOrFalse}}</td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="no-data w-full text-center p-t" ng-show="depotList.length === 0" translate>暂时没有数据</div>
                </div>
            </div>
            <div class="bottom-area page-bar wrapper-y-sm clearfix">
                <div yb-page-info ng-model="depotPageInfo" yb-refresh="search('depot')"></div>
            </div>
        </div>
        <div tab heading="{{depotTabFlag.name}}仓库" active="activeFlag[1]" ng-if="activeFlag[1]">
            <div class="main-area d-t-35 d-b-60">
                <form name="form" class="main-wrap form-horizontal single-col p-t clearfix" novalidate>
                    <div class="form-group">
                        <label class="col-xs-2 control-label"><i>*</i><span translate>仓库编号</span>：</label>
                        <div class="col-xs-5 wrapper-none">
                            <input type="text" name="id" class="form-control" ng-model="detailInfo.warehouseCode"
                                required yb-serial-no yb-focus maxlength="18" ng-disabled="depotTabFlag.type==1">
                        </div>
                        <div class="col-xs-4 msg-block" ng-show="form.id.$dirty || (form.id.$invalid && submitted)">
                            <div class="error-msg" ng-if="form.id.$error.required && !form.id.focused">
                                <i class="yb-icon ico-times-circular"></i><span translate>必填项，请填写</span>
                            </div>
                            <div class="error-msg" ng-if="form.id.$error.serialNo && !form.id.focused">
                                <i class="yb-icon ico-times-circular"></i><span translate>只能输入数字、字母</span>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-2 control-label"><i>*</i><span translate>仓库描述</span>：</label>
                        <div class="col-xs-5 wrapper-none">
                            <input type="text" name="description" class="form-control" ng-model="detailInfo.description" required yb-focus maxlength="100">
                        </div>
                        <div class="col-xs-4 msg-block"
                            ng-show="form.description.$dirty || (form.description.$invalid && submitted)">
                            <div class="error-msg"
                                ng-if="form.description.$error.required && !form.description.focused">
                                <i class="yb-icon ico-times-circular"></i><span translate>必填项，请填写</span>
                            </div>
                        </div>
                    </div>
                    <div class="form-group m-b-sm">
                        <label class="col-xs-2 control-label"><span translate>是否条码化</span>：</label>
                        <label class="col-xs-5 control-label p-l-n text-left clearfix">
                            <input type="radio" class="m-r-sm pull-left" yb-radio ng-model="detailInfo.isBarCode"
                                value="1" yb-radio-name="是" yb-disabled="depotTabFlag.type==1">
                            <input type="radio" class="m-r-sm pull-left" yb-radio ng-model="detailInfo.isBarCode"
                                value="0" yb-radio-name="否" yb-disabled="depotTabFlag.type==1">
                        </label>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-2 control-label"><i>*</i>出货地：</label>
                        <div class="col-xs-5 wrapper-none">
                            <div bj-select name="chhd" required source="chuhuodiList" ng-model="detailInfo.factoryId" is-model-object="false"></div>
                        </div>
                        <div class="col-xs-4 msg-block" ng-show="form.chhd.$dirty || (form.chhd.$invalid && submitted)">
                            <div class="error-msg" ng-if="form.chhd.$error.required">
                                <i class="yb-icon ico-times-circular"></i><span>必填项，请填写</span>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
            <div class="bottom-area btn-bar single-col border-t clearfix">
                <button type="button" class="btn btn-primary m-r-sm" ng-click="saveData(form.$valid, 'depot', 1,'depot')" translate>保存</button>
                <button type="button" class="btn btn-default" ng-click="cancel(1)" translate>取消</button>
            </div>
        </div>

        <div tab heading="{{areaTabFlag.depotNo}} _ {{'库区管理'|translate}}" active="activeFlag[2]" ng-click="changeTab(2)"
            ng-if="!!areaTabFlag.depotNo">
            <div class="row wrapper-y-sm">
                <div class="operate-bar col-xs-4 font-0">
                    <button class="btn btn-operate m-r-sm" ng-click="addData('area')"
                        ng-disabled="!btnPermission.depotAddArea" translate
                        translate-attr-title="{{!btnPermission.depotAddArea?'无权限执行此操作':''}}">新增库区</button>
                </div>
                <div class="search-bar wrapper-none col-xs-8">
                    <div class="btn-group m-l-xs pull-right">
                        <button type="button" class="btn btn-default base-color"
                            ng-click="search('area', areaTabFlag.id)" translate translate-attr-title="刷新">
                            <i class="yb-icon ico-refresh"></i>
                        </button>
                    </div>
                </div>
            </div>
            <div class="main-area">
                <div yb-table-fixed class="table-fixed-wrap">
                    <div class="th-scroll-x">
                        <table class="table border-none">
                            <thead>
                                <tr>
                                    <th ng-style="{'width': '16%'}"   translate>操作</th>
                                    <th ng-style="{'width': '28%'}"  translate>库区编号</th>
                                    <th ng-style="{'width': '28%'}"  translate>库区描述</th>
                                </tr>
                            </thead>
                        </table>
                    </div>
                    <div class="td-scroll" ng-show="areaList.length > 0">
                        <table class="table border-none">
                            <tbody>
                                <tr ng-repeat="item in areaList track by $index">
                                    <td ng-style="{'width': '16%'}">
                                        <button class="btn btn-operate" ng-click="addData('place', item)"
                                            ng-disabled="!btnPermission.depotAddPlace" translate
                                            translate-attr-title="{{!btnPermission.depotAddPlace?'无权限执行此操作':''}}">添加储位</button>
                                        <button class="btn btn-operate" ng-click="stopUsingState('use', item, 'area')"
                                                ng-disabled="!btnPermission.areaStopUsing || item.stopUsing == 0" translate
                                                translate-attr-title="{{!btnPermission.areaStopUsing?'无权限执行此操作':''}}">启用</button>
                                        <button class="btn btn-operate" ng-click="stopUsingState('stop', item, 'area')"
                                                ng-disabled="!btnPermission.areaStopUsing || item.stopUsing == 1" translate
                                                translate-attr-title="{{!btnPermission.areaStopUsing?'无权限执行此操作':''}}">停用</button>
                                        <button class="btn btn-operate" ng-click="editArea(item)"
                                          ng-disabled="!btnPermission.areaEdit" translate
                                          translate-attr-title="{{!btnPermission.areaEdit?'无权限执行此操作':''}}">编辑</button>
                                    </td>
                                    <td ng-style="{'width': '28%'}" class="spill-dots" title="{{item.areaCode}}">
                                        <a class="btn btn-operate" ng-click="getDataList('place', item, 1)">
                                            {{item.areaCode}}
                                        </a>
                                    </td>
                                    <td ng-style="{'width': '28%'}" class="spill-dots" title="{{item.description}}">{{item.description}}</td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="no-data w-full text-center p-t" ng-show="areaList.length === 0" translate>暂时没有数据</div>
                </div>
            </div>
            <div class="bottom-area page-bar wrapper-y-sm clearfix">
                <div yb-page-info ng-model="areaPageInfo" yb-refresh="search('area', areaTabFlag.id)"></div>
            </div>
        </div>
        <div tab heading="{{areaTabFlag.name}}库区" active="activeFlag[3]" ng-if="activeFlag[3]">
            <div class="main-area d-t-35 d-b-60">
                <form name="form" class="main-wrap form-horizontal single-col p-t clearfix" novalidate>
                    <div class="form-group">
                        <label class="col-xs-2 control-label"><span translate>仓库编号</span>：</label>
                        <div class="col-xs-5 wrapper-none">
                            <div class="txt-show p-t-xs">{{detailInfo.warehouseNo}}</div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-2 control-label"><i>*</i><span translate>库区编号</span>：</label>
                        <div class="col-xs-5 wrapper-none">
                            <input type="text" name="id" class="form-control" ng-model="detailInfo.areaCode" required
                                yb-serial-no yb-focus maxlength="18" ng-disabled="areaTabFlag.type == 1">
                        </div>
                        <div class="col-xs-4 msg-block" ng-show="form.id.$dirty || (form.id.$invalid && submitted)">
                            <div class="error-msg" ng-if="form.id.$error.required && !form.id.focused">
                                <i class="yb-icon ico-times-circular"></i><span translate>必填项，请填写</span>
                            </div>
                            <div class="error-msg" ng-if="form.id.$error.serialNo && !form.id.focused">
                                <i class="yb-icon ico-times-circular"></i><span translate>只能输入数字、字母</span>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-2 control-label"><i>*</i><span translate>库区描述</span>：</label>
                        <div class="col-xs-5 wrapper-none">
                            <input type="text" name="description" class="form-control" ng-model="detailInfo.description"
                                required yb-focus maxlength="100">
                        </div>
                        <div class="col-xs-4 msg-block"
                            ng-show="form.description.$dirty || (form.description.$invalid && submitted)">
                            <div class="error-msg"
                                ng-if="form.description.$error.required && !form.description.focused">
                                <i class="yb-icon ico-times-circular"></i><span translate>必填项，请填写</span>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
            <div class="bottom-area btn-bar single-col border-t clearfix">
                <button type="button" class="btn btn-primary m-r-sm"
                    ng-click="saveData(form.$valid, 'area', 3, areaTabFlag.id)" translate>
                    保存
                </button>
                <button type="button" class="btn btn-default" ng-click="cancel(3, areaTabFlag.id)" translate>取消</button>
            </div>
        </div>

        <div tab heading="{{placeTabFlag.areaNo}} _ {{'储位管理'|translate}}" active="activeFlag[4]"
            ng-if="!!placeTabFlag.areaNo">
            <div class="row wrapper-y-sm">
                <div class="operate-bar col-xs-4 font-0">
                    <button class="btn btn-operate m-r-sm" ng-click="addData('place')"
                        ng-disabled="!btnPermission.depotAddPlace" translate
                        translate-attr-title="{{!btnPermission.depotAddPlace?'无权限执行此操作':''}}">新增储位</button>
                    <button class="btn btn-operate m-r-sm" ng-click="batchPrint()"
                        ng-disabled="!btnPermission.depotPlacePrint" translate
                        translate-attr-title="{{!btnPermission.depotPlacePrint?'无权限执行此操作':''}}">打印</button>
                    <button class="btn btn-operate m-r-sm" ng-click="deleteShelf()"
                        ng-disabled="!btnPermission.depotPlacePrint" translate
                        translate-attr-title="{{!btnPermission.depotPlacePrint?'无权限执行此操作':''}}">删除货架</button>
                </div>
                <div class="search-bar wrapper-none col-xs-8">
                    <div class="btn-group m-l-xs pull-right">
                        <button type="button" class="btn btn-default base-color"
                            ng-click="search('place', placeTabFlag.id)" translate translate-attr-title="刷新">
                            <i class="yb-icon ico-refresh"></i>
                        </button>
                    </div>
                </div>
            </div>
            <div class="main-area">
                <div yb-table-fixed class="table-fixed-wrap">
                    <div class="th-scroll-x">
                        <table class="table border-none">
                            <thead>
                                <tr>
                                    <th width="40">
                                        <div yb-check-box yb-checked="markInfo.allChecked" yb-click="selectAll()"></div>
                                    </th>
                                    <th width="10%" translate>操作</th>
                                    <th width="15%" translate>储位编号</th>
                                    <th width="30%" translate>储位描述</th>
                                    <th width="15%" translate>货架编号</th>
                                    <th width="30%" translate>货架描述</th>
                                </tr>
                            </thead>
                        </table>
                    </div>
                    <div class="td-scroll" ng-show="placeList.length > 0">
                        <table class="table border-none">
                            <tbody>
                                <tr ng-repeat="item in placeList track by $index">
                                    <td width="40">
                                        <div yb-check-box yb-checked="item.isChecked" yb-click="selectSingle(item)">
                                        </div>
                                    </td>
                                    <td width="10%">
                                        <button class="btn btn-operate" ng-click="print(item)"
                                            ng-disabled="!btnPermission.depotPlacePrint" translate
                                            translate-attr-title="{{!btnPermission.depotPlacePrint?'无权限执行此操作':''}}">打印</button>
                                        <button class="btn btn-operate" ng-click="updateData(item)"
                                            translate>编辑</button>
                                    </td>
                                    <td width="15%" class="spill-dots" title="{{item.locationCode}}">
                                        {{item.locationCode}}</td>
                                    <td width="30%" class="spill-dots" title="{{item.locationDesc}}">
                                        {{item.locationDesc}}</td>
                                    <td width="15%" class="spill-dots" title="{{item.shelfNo}}">{{item.shelfNo}}</td>
                                    <td width="30%" class="spill-dots" title="{{item.shelfType}}">{{item.shelfType}}
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="no-data w-full text-center p-t" ng-show="placeList.length === 0" translate>暂时没有数据</div>
                </div>
            </div>
            <div class="bottom-area page-bar wrapper-y-sm clearfix">
                <div yb-check-box class="m-t-xs m-r-sm" yb-checked="markInfo.allChecked" yb-check-name="全选"
                    yb-click="selectAll()"></div>
                <button class="btn btn-operate" ng-click="batchPrint()" ng-disabled="!btnPermission.depotPlacePrint"
                    translate translate-attr-title="{{!btnPermission.depotPlacePrint?'无权限执行此操作':''}}">打印</button>
                <div class="p-t-xs m-l-lg" style="display: inline-block">
                    <span translate>打印配置项</span>:
                    <div yb-check-box class="m-r-sm" yb-checked="tempSet.showDept" yb-check-name="仓库"></div>
                    <div yb-check-box class="m-r-sm" yb-checked="tempSet.showArea" yb-check-name="库区"></div>
                    <div yb-check-box class="m-r-sm" yb-checked="tempSet.showType" yb-check-name="货架描述"></div>
                    <div yb-check-box class="m-r-sm" yb-checked="tempSet.showSeq" yb-check-name="位"></div>
                </div>
                <div yb-page-info ng-model="placePageInfo" yb-refresh="search('place', placeTabFlag.id)"></div>
            </div>
        </div>
        <div tab heading="{{placeTabFlag.name}}储位" active="activeFlag[5]" ng-if="activeFlag[5]">
            <div class="main-area d-t-35 d-b-60">
                <form name="form" class="main-wrap form-horizontal single-col p-t clearfix" novalidate>
                    <div class="form-group">
                        <label class="col-xs-2 control-label"><span translate>库区编号</span>：</label>
                        <div class="col-xs-5 wrapper-none">
                            <div class="txt-show p-t-xs">{{detailInfo.areaNo}}</div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-2 control-label"><i>*</i><span translate>货架编号</span>：</label>
                        <div class="col-xs-5 wrapper-none">
                            <input type="text" name="shelfNo" class="form-control" ng-model="detailInfo.shelfNo"
                                required yb-focus maxlength="6">
                        </div>
                        <div class="col-xs-4 msg-block"
                            ng-show="form.shelfNo.$dirty || (form.shelfNo.$invalid && submitted)">
                            <div class="error-msg" ng-if="form.shelfNo.$error.required && !form.shelfNo.focused">
                                <i class="yb-icon ico-times-circular"></i><span translate>必填项，请填写</span>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-2 control-label"><i>*</i><span translate>货架描述</span>：</label>
                        <div class="col-xs-5 wrapper-none">
                            <input type="text" name="shelfType" class="form-control" ng-model="detailInfo.shelfType"
                                required yb-focus maxlength="6">
                        </div>
                        <div class="col-xs-4 msg-block"
                            ng-show="form.shelfType.$dirty || (form.shelfType.$invalid && submitted)">
                            <div class="error-msg" ng-if="form.shelfType.$error.required && !form.shelfType.focused">
                                <i class="yb-icon ico-times-circular"></i><span translate>必填项，请填写</span>
                            </div>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-xs-2 control-label"><i>*</i><span translate>排起止编号</span>：</label>
                        <div class="col-xs-5 wrapper-none">
                            <input type="text" name="beginRowNo" class="form-control half pull-left"
                                ng-model="detailInfo.beginRowNo" required yb-focus yb-number-input maxlength="5">
                            <label class="wave-line text-center p-t-xs pull-left">~</label>
                            <input type="text" name="endRowNo" class="form-control half pull-left"
                                ng-model="detailInfo.endRowNo" required yb-focus yb-number-input maxlength="5">
                        </div>
                        <div class="col-xs-4 msg-block"
                            ng-if="(form.beginRowNo.$dirty || (form.beginRowNo.$invalid && submitted)) && form.beginRowNo.$error.required">
                            <div class="error-msg" ng-if="!form.beginRowNo.focused">
                                <i class="yb-icon ico-times-circular"></i><span translate>必填项，请填写</span>
                            </div>
                        </div>
                        <div class="col-xs-4 msg-block"
                            ng-if="(form.endRowNo.$dirty || (form.endRowNo.$invalid && submitted)) && !form.beginRowNo.$error.required">
                            <div class="error-msg" ng-if="form.endRowNo.$error.required && !form.endRowNo.focused">
                                <i class="yb-icon ico-times-circular"></i><span translate>必填项，请填写</span>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-2 control-label"><i>*</i><span translate>层</span>：</label>
                        <div class="col-xs-5 wrapper-none">
                            <input type="text" name="floor" class="form-control" ng-model="detailInfo.floorNum" required
                                yb-focus yb-number-input maxlength="5">
                        </div>
                        <div class="col-xs-4 msg-block"
                            ng-show="form.floor.$dirty || (form.floor.$invalid && submitted)">
                            <div class="error-msg" ng-if="form.floor.$error.required && !form.floor.focused">
                                <i class="yb-icon ico-times-circular"></i><span translate>必填项，请填写</span>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-2 control-label"><i>*</i><span translate>列</span>：</label>
                        <div class="col-xs-5 wrapper-none">
                            <input type="text" name="col" class="form-control" ng-model="detailInfo.columnNum" required
                                yb-focus yb-number-input maxlength="5">
                        </div>
                        <div class="col-xs-4 msg-block" ng-show="form.col.$dirty || (form.col.$invalid && submitted)">
                            <div class="error-msg" ng-if="form.col.$error.required && !form.col.focused">
                                <i class="yb-icon ico-times-circular"></i><span translate>必填项，请填写</span>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-2 control-label"><i>*</i><span translate>位</span>：</label>
                        <div class="col-xs-5 wrapper-none">
                            <input type="text" name="place" class="form-control" ng-model="detailInfo.locationNum"
                                required yb-focus yb-number-input maxlength="5">
                        </div>
                        <div class="col-xs-4 msg-block"
                            ng-show="form.place.$dirty || (form.place.$invalid && submitted)">
                            <div class="error-msg" ng-if="form.place.$error.required && !form.place.focused">
                                <i class="yb-icon ico-times-circular"></i><span translate>必填项，请填写</span>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
            <div class="bottom-area btn-bar single-col border-t clearfix">
                <button type="button" class="btn btn-primary m-r-sm"
                    ng-click="saveData(form.$valid, 'place', 5, placeTabFlag.id)" translate>
                    保存
                </button>
                <button type="button" class="btn btn-default" ng-click="cancel(5, placeTabFlag.id)"
                    translate>取消</button>
            </div>
        </div>
        <div tab heading="修改储位描述" active="activeFlag[6]" ng-if="activeFlag[6]">
            <div class="main-area d-t-35 d-b-60">
                <form name="form" class="main-wrap form-horizontal single-col p-t clearfix" novalidate>
                    <div class="form-group">
                        <label class="col-xs-2 control-label"><span translate>储位编号</span>：</label>
                        <div class="col-xs-5 wrapper-none">
                            <div class="txt-show p-t-xs">{{detailInfo.locationCode}}</div>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-xs-2 control-label"><i>*</i><span translate>储位描述</span>：</label>
                        <div class="col-xs-5 wrapper-none">
                            <input type="text" name="locationDesc" class="form-control"
                                ng-model="detailInfo.locationDesc" required yb-focus maxlength="30">
                        </div>
                        <div class="col-xs-4 msg-block"
                            ng-show="form.locationDesc.$dirty || (form.locationDesc.$invalid && submitted)">
                            <div class="error-msg"
                                ng-if="form.locationDesc.$error.required && !form.locationDesc.focused">
                                <i class="yb-icon ico-times-circular"></i><span translate>必填项，请填写</span>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-2 control-label"><span translate>货架编号</span>：</label>
                        <div class="col-xs-5 wrapper-none">
                            <div class="txt-show p-t-xs">{{detailInfo.shelfNo}}</div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-2 control-label"><span translate>货架描述</span>：</label>
                        <div class="col-xs-5 wrapper-none">
                            <div class="txt-show p-t-xs">{{detailInfo.shelfType}}</div>
                        </div>
                    </div>
                </form>
            </div>
            <div class="bottom-area btn-bar single-col border-t clearfix">
                <button type="button" class="btn btn-primary m-r-sm"
                    ng-click="saveData(form.$valid, 'place', 6, 'editPlace')" translate>
                    保存
                </button>
                <button type="button" class="btn btn-default" ng-click="cancel(6, 'editPlace')" translate>取消</button>
            </div>
        </div>
    </div>
</div>

<div id="printStorage" ng-if="showPrint" ng-include="'view/printTemplate/depotTicketTpl.html'" style="display: none;"></div>
